<html>
	<head>
		<meta
		  name="viewport"
		  content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover"
		/>
		<title>富文本展示</title>
		<style type="text/css">
			html,body {
				margin: 0;
				padding: 0;
				width: 100%;
				height: 100%;
			}
			.content {
				color: #333;
				width: 100%;
				height: 100%;
				font-size: 18px;
			}
			.content img {
				max-width: 100%!important;
			}
		</style>
	</head>
	<body>
		<p id="content" class="content"></p>
	</body>
	<script type="text/javascript">
		function setStyle (attribute, value) {
			document.getElementById('content').style[attribute] = value
		}
		function setRichText (richText) {
			document.getElementById('content').innerHTML = richText
		}
	</script>
</html>